.Todo {
    height: 100%;
    width: 100%;
}

/* 头部 */
.TodoTop {
    box-sizing: border-box;
    background-color: var(--bg_1);
    width: 100%;
    height: 30%;
    max-height: 9.5rem;
    padding-top: 1.5rem;
    padding-bottom: .25rem;
}

.TodoTop .TodoTopOne {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 时间选择 */
.TodoTop .TodoTopOne .TodoTopTime {
    margin-left: 1rem;
}

.TodoTop .TodoTopOne .TodoTopTime>button {
    border: 0;
    color: white;
    background-color: var(--bg_1);
    padding: 0;
}

.TodoTop .TodoTopOne .TodoTopTime>button>span {
    font-size: calc(var(--fontSize));
    display: flex;
    align-items: center;
}

.TodoTop .TodoTopOne .TodoTopTime>button>span>span {
    padding-right: .5rem;

}

/* 支出和入账 */
.TodoTop .TodoTopOne .TodoTopChangeType {
    margin-right: 1rem;

}

.TodoTop .TodoTopOne .TodoTopChangeType>button {
    border: 0;
    color: white;
    background-color: var(--bg_1);
    margin-right: .25rem;
    font-size: calc(var(--fontSize) - .1rem);
}

.TodoTop .TodoTopOne .TodoTopChangeType>button:focus {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* 金额 */
.TodoTop .TodoTopTwo {
    margin-left: 1rem;
    margin-top: .5rem;
}

.TodoTop .TodoTopTwo>p {
    color: white;
    opacity: 0.5;
    font-size: calc(var(--fontSize) - .3rem);
}

.TodoTop .TodoTopTwo .TodoTopTwoMoney {
    font-size: calc(var(--fontSize) + 1rem);
    color: white;
    opacity: 1;
    margin-top: .5rem;
}

/* 身体 */
.TodoBody {
    box-sizing: border-box;
    width: 100%;
    min-height: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.panel {
    box-sizing: border-box;
    width: 95%;
    position: relative;
    height: 15rem;
    border: 1px solid rgba(25, 186, 139, 0.17);
    padding: 0 0.1875rem 0.5rem;
    margin: 1rem 0;
    /* 水平 垂直 模糊程度 阴影大小 颜色 */
    box-shadow: 10px 12px 5px -4px rgba(128, 128, 128, 0.5);

}

.panel::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: .5rem;
    height: .5rem;
    border-top: .1rem solid var(--bg_1);
    border-left: .1rem solid var(--bg_1);
}

.panel::after {
    position: absolute;
    top: 0;
    right: 0;
    content: "";
    width: .5rem;
    height: .5rem;
    border-top: .1rem solid var(--bg_1);
    border-right: .1rem solid var(--bg_1);
}

.panel .panel-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.panel .panel-footer::before {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: .5rem;
    height: .5rem;
    border-bottom: .1rem solid var(--bg_1);
    border-left: .1rem solid var(--bg_1);
}

.panel .panel-footer::after {
    position: absolute;
    bottom: 0;
    right: 0;
    content: "";
    width: .5rem;
    height: .5rem;
    border-bottom: .1rem solid var(--bg_1);
    border-right: .1rem solid var(--bg_1);
}

.panel h2 {
    box-sizing: border-box;
    height: 15%;
    padding: .25rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg_1);
    font-size: calc(var(--fontSize));
    font-weight: 400;
}

.panel h2 button {
    background-color: white;
    border: 0;
    font-size: calc(var(--fontSize));
    margin: 0 .25rem;
    color: black;

}

.panel h2>button:focus {
    background-color: rgba(255, 255, 255, 0.3);
    color: black;
}

.panel .chart {
    height: 85%;
    width: 100%;
}

.panel .chart>div:first-child,
.panel .chart>div>canvas {
    width: 100%;
    height: 100% !important;
}